home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 17
/
CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso
/
CUCD
/
Programming
/
DiceSource
/
test
/
locale
/
hello.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-10
|
343b
|
24 lines
/*
* HELLO.C
*/
#include <lib/ilocale.h>
main(ac, av)
char *av[];
{
int r = SetCatalog(av[1], "hello.catalog");
if (r < 0)
puts("couldn't open locale");
else if (r > 0)
puts("couldn't open catalog in locale");
puts("Hello world");
puts("This is a test");
puts("This is not in the catalog");
return(0);
}